package com.car.vo;

import com.car.entity.Customer;
import com.car.entity.MaintenanceRecord;
import com.car.entity.RepairRecord;
import com.car.entity.Vehicle;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 客户详情VO
 *
 * @author Car System
 */
@Data
@Schema(description = "客户详情")
public class CustomerDetailVO {

    @Schema(description = "客户基本信息")
    private Customer customer;

    @Schema(description = "名下车辆列表")
    private List<Vehicle> vehicles;

    @Schema(description = "保养记录列表")
    private List<MaintenanceRecord> maintenanceRecords;

    @Schema(description = "维修记录列表")
    private List<RepairRecord> repairRecords;

    @Schema(description = "车辆总数")
    private Integer vehicleCount;

    @Schema(description = "保养记录总数")
    private Integer maintenanceCount;

    @Schema(description = "维修记录总数")
    private Integer repairCount;
}

